<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>登录</title>
       <link rel="stylesheet" href="/static/css/bootstrap.min.css">
    <style>
        .form1{
            margin:0 auto ;
            width:400px;
        }
        .alarm{
            background-color:rosybrown;
            border-radius: 10px;
}
    </style>
</head>
<body>
<div class="alarm">
    <p style="color: white;text-align: center;font-size: 20px" > {{ msg }}</p>
</div>

<div class="form1">
<form action="{{ url_for('user.login') }}" method="post">
    <p style="font-family: 宋体;color: #2e6da4;font-size: 30px;text-align: center" >Login</p>
    <div class="form-group" style="width: 430px;margin-top: 30px;">
        <P> 用户名：</P> <input  type="text" class="form-control"  name="username" required="required" >
    </div>
    <div class="form-group" style="width: 430px;margin-top: 30px;">
        <P> 密码：</P> <input  type="password" class="form-control"  name="password" required="required">
    </div>
    <button style="color: #2e6da4" type="submit" class="btn btn-default">Submit</button>
</form>
</div>

</body>
</html>